package com.hosever.coreTest2;


public class NioTest {
	
	/*public static void main(String[] args) {
		//1.6.6 迭代目录中的文件
		Path dir = Paths.get("d:\\test\\test1"); 
		try(DirectoryStream<Path> entries = Files.newDirectoryStream(dir)){
			for (Path path : entries) {
				System.out.println(path.getFileName());
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}*/
}
